package fr.inria.arles.tempManagement.preferencesStore.query;

/**
 * A Query to update the current reference temperate setting.
 */
public class UpdateTempQuery extends AbstractQuery {

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * fr.inria.arles.tempManagement.queryProcessor.query.AbstractQuery#execute
	 * (java.lang.String[])
	 */
	@Override
	public String execute(String[] args) throws Exception {
		executeQuery("UPDATE TEMPERATURE SET TEMP=? WHERE ID=?", args);
		return "true";
	}

}
